home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1998-10-05 | 4.3 KB | [TEXT/MSET] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: double
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Oct 5 20:23:50 1998, modified Mon Oct 5 20:23:50 1998, creator 'MSET', type ASCII, 3782 bytes "double" , at 0xf46 381 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
16%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MSET] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 64 6f 75 62 6c 65 | 00 00 00 00 00 00 00 00 |..double|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 0e c6 00 | 00 01 7d b2 3f 13 96 b2 |........|..}.?...|
|00000060| 3f 13 96 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |?.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 77 87 00 00 |........|....w...|
|00000080| 5c 20 53 6f 6d 65 20 64 | 6f 75 62 6c 65 2d 6e 75 |\ Some d|ouble-nu|
|00000090| 6d 62 65 72 20 77 6f 72 | 64 73 0d 5c 20 4d 61 79 |mber wor|ds.\ May|
|000000a0| 20 39 38 09 6d 72 68 09 | 09 69 6e 69 74 69 61 6c | 98.mrh.|.initial|
|000000b0| 20 76 65 72 73 69 6f 6e | 0d 0d 5c 20 54 68 69 73 | version|..\ This|
|000000c0| 20 69 73 6e 27 74 20 74 | 68 65 20 66 75 6c 6c 20 | isn't t|he full |
|000000d0| 41 4e 53 49 20 46 6f 72 | 74 68 20 64 6f 75 62 6c |ANSI For|th doubl|
|000000e0| 65 2d 6e 75 6d 62 65 72 | 20 77 6f 72 64 20 73 65 |e-number| word se|
|000000f0| 74 2c 20 73 69 6e 63 65 | 20 49 0d 5c 20 76 65 72 |t, since| I.\ ver|
|00000100| 79 20 6d 75 63 68 20 64 | 6f 75 62 74 20 77 65 20 |y much d|oubt we |
|00000110| 6e 65 65 64 20 69 74 20 | 69 6e 20 61 6c 6c 20 69 |need it |in all i|
|00000120| 74 73 20 67 6c 6f 72 79 | 20 66 6f 72 20 61 20 33 |ts glory| for a 3|
|00000130| 32 2d 62 69 74 20 46 6f | 72 74 68 2e 0d 5c 20 48 |2-bit Fo|rth..\ H|
|00000140| 6f 77 65 76 65 72 20 77 | 65 20 6e 65 65 64 20 73 |owever w|e need s|
|00000150| 6f 6d 65 20 6f 66 20 74 | 68 65 20 77 6f 72 64 73 |ome of t|he words|
|00000160| 20 66 6f 72 20 74 68 65 | 20 46 6f 72 74 68 20 53 | for the| Forth S|
|00000170| 63 69 65 6e 74 69 66 69 | 63 0d 5c 20 4c 69 62 72 |cientifi|c.\ Libr|
|00000180| 61 72 79 2e 0d 0d 0d 5c | 20 32 53 57 41 50 20 69 |ary....\| 2SWAP i|
|00000190| 73 20 61 6c 72 65 61 64 | 79 20 69 6d 70 6c 65 6d |s alread|y implem|
|000001a0| 65 6e 74 65 64 20 69 6e | 20 63 67 36 0d 0d 3a 20 |ented in| cg6..: |
|000001b0| 32 4f 56 45 52 0d 09 69 | 6e 6c 69 6e 65 7b 20 33 |2OVER..i|nline{ 3|
|000001c0| 70 69 63 6b 20 33 70 69 | 63 6b 20 7d 0d 3b 0d 0d |pick 3pi|ck }.;..|
|000001d0| 0d 5c 20 54 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |.\ The f|ollowing|
|000001e0| 20 61 72 65 20 61 6c 72 | 65 61 64 79 20 69 6d 70 | are alr|eady imp|
|000001f0| 6c 65 6d 65 6e 74 65 64 | 20 69 6e 20 70 6e 75 63 |lemented| in pnuc|
|00000200| 31 2c 20 27 63 61 75 73 | 65 20 77 65 20 6e 65 65 |1, 'caus|e we nee|
|00000210| 64 20 74 68 65 6d 20 69 | 6e 0d 5c 20 20 74 68 65 |d them i|n.\ the|
|00000220| 20 6e 75 63 6c 65 75 73 | 3a 0d 5c 0d 5c 20 20 44 | nucleus|:.\.\ D|
|00000230| 2b 20 44 2d 20 44 4e 45 | 47 41 54 45 0d 0d 3a 20 |+ D- DNE|GATE..: |
|00000240| 44 3d 20 20 7b 20 6e 31 | 5f 6c 6f 20 6e 31 5f 68 |D= { n1|_lo n1_h|
|00000250| 69 20 6e 32 5f 6c 6f 20 | 6e 32 5f 68 69 20 2d 2d |i n2_lo |n2_hi --|
|00000260| 20 62 20 7d 0d 09 6e 31 | 5f 6c 6f 20 6e 32 5f 6c | b }..n1|_lo n2_l|
|00000270| 6f 20 3d 0d 09 6e 31 5f | 68 69 20 6e 32 5f 68 69 |o =..n1_|hi n2_hi|
|00000280| 20 3d 20 61 6e 64 20 20 | 3b 0d 0d 3a 20 44 3c 20 | = and |;..: D< |
|00000290| 20 7b 20 6e 31 5f 6c 6f | 20 6e 31 5f 68 69 20 6e | { n1_lo| n1_hi n|
|000002a0| 32 5f 6c 6f 20 6e 32 5f | 68 69 20 2d 2d 20 62 20 |2_lo n2_|hi -- b |
|000002b0| 7d 0d 09 6e 31 5f 68 69 | 20 6e 32 5f 68 69 20 3c |}..n1_hi| n2_hi <|
|000002c0| 3e 0d 09 49 46 20 20 09 | 6e 31 5f 68 69 20 6e 32 |>..IF .|n1_hi n2|
|000002d0| 5f 68 69 20 3c 0d 09 45 | 4c 53 45 09 6e 31 5f 6c |_hi <..E|LSE.n1_l|
|000002e0| 6f 20 6e 32 5f 6c 6f 20 | 75 3c 0d 09 54 48 45 4e |o n2_lo |u<..THEN|
|000002f0| 0d 3b 0d 0d 3a 20 44 30 | 3c 09 33 31 20 61 3e 3e |.;..: D0|<.31 a>>|
|00000300| 20 20 6e 69 70 20 20 3b | 0d 0d 3a 20 44 30 3d 09 | nip ;|..: D0=.|
|00000310| 6f 72 20 30 3d 20 20 3b | 0d 0d 3a 20 44 41 42 53 |or 0= ;|..: DABS|
|00000320| 09 64 75 70 20 30 3c 20 | 49 46 20 20 64 6e 65 67 |.dup 0< |IF dneg|
|00000330| 61 74 65 20 20 54 48 45 | 4e 20 20 3b 0d 0d 3a 20 |ate THE|N ;..: |
|00000340| 44 4d 41 58 09 32 64 75 | 70 20 64 3c 20 49 46 20 |DMAX.2du|p d< IF |
|00000350| 20 32 73 77 61 70 20 20 | 54 48 45 4e 20 20 32 64 | 2swap |THEN 2d|
|00000360| 72 6f 70 20 20 3b 0d 3a | 20 44 4d 49 4e 09 32 64 |rop ;.:| DMIN.2d|
|00000370| 75 70 20 64 3c 20 4e 49 | 46 20 32 73 77 61 70 20 |up d< NI|F 2swap |
|00000380| 20 54 48 45 4e 20 20 32 | 64 72 6f 70 20 20 3b 0d | THEN 2|drop ;.|
|00000390| 0d 3a 20 44 3e 53 09 69 | 6e 6c 69 6e 65 7b 20 64 |.: D>S.i|nline{ d|
|000003a0| 72 6f 70 7d 20 20 3b 0d | 0d 3a 20 32 40 09 69 6e |rop} ;.|.: 2@.in|
|000003b0| 6c 69 6e 65 7b 20 64 75 | 70 20 63 65 6c 6c 2b 20 |line{ du|p cell+ |
|000003c0| 40 20 73 77 61 70 20 40 | 7d 20 20 3b 0d 3a 20 32 |@ swap @|} ;.: 2|
|000003d0| 21 09 69 6e 6c 69 6e 65 | 7b 20 74 75 63 6b 20 21 |!.inline|{ tuck !|
|000003e0| 20 63 65 6c 6c 2b 20 21 | 7d 20 20 3b 0d 3a 20 32 | cell+ !|} ;.: 2|
|000003f0| 3e 52 09 69 6e 6c 69 6e | 65 7b 20 73 77 61 70 20 |>R.inlin|e{ swap |
|00000400| 3e 72 20 3e 72 7d 20 20 | 3b 0d 3a 20 32 52 3e 09 |>r >r} |;.: 2R>.|
|00000410| 69 6e 6c 69 6e 65 7b 20 | 72 3e 20 72 3e 20 73 77 |inline{ |r> r> sw|
|00000420| 61 70 7d 20 20 3b 0d 3a | 20 32 52 40 09 69 6e 6c |ap} ;.:| 2R@.inl|
|00000430| 69 6e 65 7b 20 72 3e 20 | 72 40 20 73 77 61 70 20 |ine{ r> |r@ swap |
|00000440| 64 75 70 20 3e 72 7d 20 | 20 3b 0d 0d 0d 3a 20 44 |dup >r} | ;...: D|
|00000450| 2a 20 20 7b 20 6e 31 5f | 6c 6f 20 6e 31 5f 68 69 |* { n1_|lo n1_hi|
|00000460| 20 6e 32 5f 6c 6f 20 6e | 32 5f 68 69 20 2d 2d 20 | n2_lo n|2_hi -- |
|00000470| 6e 33 5f 6c 6f 20 6e 33 | 5f 68 69 20 7d 0d 09 6e |n3_lo n3|_hi }..n|
|00000480| 31 5f 6c 6f 20 6e 32 5f | 6c 6f 20 75 6d 2a 20 20 |1_lo n2_|lo um* |
|00000490| 6e 31 5f 6c 6f 20 6e 32 | 5f 68 69 20 2a 20 2b 20 |n1_lo n2|_hi * + |
|000004a0| 20 6e 31 5f 68 69 20 6e | 32 5f 6c 6f 20 2a 20 2b | n1_hi n|2_lo * +|
|000004b0| 20 20 3b 0d 0d 0d 0d 3a | 20 44 2e 52 20 20 7b 20 | ;....:| D.R { |
|000004c0| 64 5f 6c 6f 20 64 5f 68 | 69 20 23 74 6f 2d 72 69 |d_lo d_h|i #to-ri|
|000004d0| 67 68 74 20 2d 2d 20 7d | 0d 09 64 5f 6c 6f 20 64 |ght -- }|..d_lo d|
|000004e0| 5f 68 69 20 64 61 62 73 | 0d 09 3c 23 20 20 23 73 |_hi dabs|..<# #s|
|000004f0| 20 20 64 5f 68 69 20 73 | 69 67 6e 20 20 23 3e 0d | d_hi s|ign #>.|
|00000500| 09 23 74 6f 2d 72 69 67 | 68 74 20 6f 76 65 72 20 |.#to-rig|ht over |
|00000510| 2d 20 20 73 70 61 63 65 | 73 0d 09 74 79 70 65 0d |- space|s..type.|
|00000520| 3b 0d 0d 3a 20 44 2e 09 | 09 5c 20 28 20 6e 20 2d |;..: D..|.\ ( n -|
|00000530| 2d 20 29 0d 09 30 20 64 | 2e 72 20 73 70 61 63 65 |- )..0 d|.r space|
|00000540| 20 20 3b 0d 0d 3a 20 44 | 2e 48 0d 09 62 61 73 65 | ;..: D|.H..base|
|00000550| 20 20 31 36 20 2d 3e 20 | 62 61 73 65 0d 09 73 77 | 16 -> |base..sw|
|00000560| 61 70 20 2e 0d 09 2d 3e | 20 62 61 73 65 20 20 3b |ap ...->| base ;|
|00000570| 0d 0d 3a 20 55 44 2e 0d | 09 3c 23 20 23 73 20 23 |..: UD..|.<# #s #|
|00000580| 3e 20 20 74 79 70 65 20 | 20 73 70 61 63 65 20 20 |> type | space |
|00000590| 3b 0d 0d 65 6e 64 6c 6f | 61 64 0d 0d 0d 5c 20 55 |;..endlo|ad...\ U|
|000005a0| 73 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |se the f|ollowing|
|000005b0| 20 69 66 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 2c | if you |need to,|
|000005c0| 20 61 74 20 79 6f 75 72 | 20 6f 77 6e 20 72 69 73 | at your| own ris|
|000005d0| 6b 3a 0d 0d 3a 70 70 63 | 5f 63 6f 64 65 20 55 4d |k:..:ppc|_code UM|
|000005e0| 44 2f 4d 4f 44 20 20 28 | 20 75 71 20 75 64 31 20 |D/MOD (| uq ud1 |
|000005f0| 2d 2d 20 75 64 32 20 75 | 64 33 20 29 0d 09 5c 20 |-- ud2 u|d3 )..\ |
|00000600| 75 6e 73 69 67 6e 65 64 | 20 71 75 61 64 20 64 69 |unsigned| quad di|
|00000610| 76 69 64 65 64 20 62 79 | 20 64 6f 75 62 6c 65 2c |vided by| double,|
|00000620| 20 67 69 76 69 6e 67 20 | 64 6f 75 62 6c 65 20 72 | giving |double r|
|00000630| 65 6d 61 69 6e 64 65 72 | 20 61 6e 64 20 71 75 6f |emainder| and quo|
|00000640| 74 69 65 6e 74 2e 0d 09 | 5c 20 49 20 64 6f 75 62 |tient...|\ I doub|
|00000650| 74 20 74 68 69 73 20 69 | 73 20 75 73 65 64 20 6d |t this i|s used m|
|00000660| 75 63 68 20 69 6e 20 61 | 6e 67 65 72 2c 20 73 6f |uch in a|nger, so|
|00000670| 20 49 27 6d 20 6e 6f 74 | 20 67 6f 69 6e 67 20 74 | I'm not| going t|
|00000680| 6f 20 62 6f 74 68 65 72 | 20 77 69 74 68 0d 09 5c |o bother| with..\|
|00000690| 20 74 68 65 20 70 72 65 | 2d 73 68 69 66 74 69 6e | the pre|-shiftin|
|000006a0| 67 20 73 74 75 66 66 2c | 20 77 68 69 63 68 20 77 |g stuff,| which w|
|000006b0| 6f 75 6c 64 20 62 65 20 | 61 20 64 65 66 69 6e 69 |ould be |a defini|
|000006c0| 74 65 20 70 61 69 6e 20 | 77 69 74 68 20 31 32 38 |te pain |with 128|
|000006d0| 20 62 69 74 73 2e 0d 0d | 09 72 38 09 09 30 09 72 | bits...|.r8..0.r|
|000006e0| 53 50 09 09 6c 77 7a 2c | 09 09 5c 20 67 65 74 20 |SP..lwz,|..\ get |
|000006f0| 64 69 76 69 64 65 6e 64 | 20 74 6f 20 72 38 3a 72 |dividend| to r8:r|
|00000700| 37 3a 72 36 3a 72 35 0d | 09 72 37 09 09 34 09 72 |7:r6:r5.|.r7..4.r|
|00000710| 53 50 09 09 6c 77 7a 2c | 0d 09 72 36 09 09 38 09 |SP..lwz,|..r6..8.|
|00000720| 72 53 50 09 09 6c 77 7a | 2c 0d 09 72 35 09 09 31 |rSP..lwz|,..r5..1|
|00000730| 32 09 72 53 50 09 09 6c | 77 7a 2c 0d 09 72 53 50 |2.rSP..l|wz,..rSP|
|00000740| 09 09 72 53 50 09 38 09 | 09 61 64 64 69 2c 09 09 |..rSP.8.|.addi,..|
|00000750| 5c 20 61 64 6a 75 73 74 | 20 72 53 50 20 66 6f 72 |\ adjust| rSP for|
|00000760| 20 77 68 61 74 20 77 65 | 20 72 65 74 75 72 6e 0d | what we| return.|
|00000770| 0d 09 72 39 09 09 36 34 | 09 09 09 6c 69 2c 0d 09 |..r9..64|...li,..|
|00000780| 72 39 09 09 09 09 09 6d | 74 63 74 72 2c 09 09 5c |r9.....m|tctr,..\|
|00000790| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|000007a0| 74 65 72 61 74 69 6f 6e | 73 20 3d 20 36 34 0d 0d |teration|s = 64..|
|000007b0| 0d 5c 20 4e 6f 77 20 66 | 6f 72 20 74 68 65 20 6d |.\ Now f|or the m|
|000007c0| 61 69 6e 20 72 65 73 74 | 6f 72 69 6e 67 20 64 69 |ain rest|oring di|
|000007d0| 76 69 73 69 6f 6e 20 73 | 68 69 66 74 20 61 6e 64 |vision s|hift and|
|000007e0| 20 73 75 62 74 72 61 63 | 74 20 6c 6f 6f 70 2e 0d | subtrac|t loop..|
|000007f0| 5c 20 57 69 74 68 20 65 | 61 63 68 20 73 68 69 66 |\ With e|ach shif|
|00000800| 74 20 77 65 20 73 75 62 | 74 72 61 63 74 20 74 68 |t we sub|tract th|
|00000810| 65 20 64 69 76 69 73 6f | 72 20 66 72 6f 6d 20 74 |e diviso|r from t|
|00000820| 68 65 20 74 6f 70 20 68 | 61 6c 66 20 6f 66 0d 5c |he top h|alf of.\|
|00000830| 20 20 74 68 65 20 31 32 | 38 2d 62 69 74 20 22 72 | the 12|8-bit "r|
|00000840| 65 67 69 73 74 65 72 22 | 2c 20 62 75 74 20 6f 6e |egister"|, but on|
|00000850| 6c 79 20 75 73 65 20 74 | 68 65 20 72 65 73 75 6c |ly use t|he resul|
|00000860| 74 20 69 66 20 69 74 27 | 73 20 70 6f 73 69 74 69 |t if it'|s positi|
|00000870| 76 65 2e 0d 5c 20 49 6e | 20 74 68 69 73 20 63 61 |ve..\ In| this ca|
|00000880| 73 65 20 77 65 20 73 68 | 69 66 74 20 69 6e 20 61 |se we sh|ift in a|
|00000890| 20 31 20 69 6e 74 6f 20 | 74 68 65 20 6c 6f 77 20 | 1 into |the low |
|000008a0| 62 69 74 20 70 6f 73 69 | 74 69 6f 6e 2e 20 20 4f |bit posi|tion. O|
|000008b0| 74 68 65 72 77 69 73 65 | 0d 5c 20 20 77 65 20 73 |therwise|.\ we s|
|000008c0| 68 69 66 74 20 69 6e 20 | 61 20 30 2e 20 20 54 68 |hift in |a 0. Th|
|000008d0| 69 73 20 77 69 6c 6c 20 | 62 65 20 74 68 65 20 6e |is will |be the n|
|000008e0| 65 78 74 20 62 69 74 20 | 6f 66 20 74 68 65 20 71 |ext bit |of the q|
|000008f0| 75 6f 74 69 65 6e 74 2e | 0d 5c 20 41 74 20 74 68 |uotient.|.\ At th|
|00000900| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 6c 6f 6f |e end of| the loo|
|00000910| 70 2c 20 77 65 27 6c 6c | 20 68 61 76 65 20 74 68 |p, we'll| have th|
|00000920| 65 20 72 65 6d 61 69 6e | 64 65 72 20 69 6e 20 74 |e remain|der in t|
|00000930| 68 65 20 68 69 67 68 0d | 5c 20 20 68 61 6c 66 2c |he high.|\ half,|
|00000940| 20 61 6e 64 20 74 68 65 | 20 71 75 6f 74 69 65 6e | and the| quotien|
|00000950| 74 20 69 6e 20 74 68 65 | 20 6c 6f 77 20 68 61 6c |t in the| low hal|
|00000960| 66 2e 0d 0d 09 72 31 30 | 09 09 2d 31 09 09 09 6c |f....r10|..-1...l|
|00000970| 69 2c 09 09 09 5c 20 72 | 31 30 20 3d 20 2d 31 20 |i,...\ r|10 = -1 |
|00000980| 66 6f 72 20 63 61 72 72 | 79 20 73 65 74 74 69 6e |for carr|y settin|
|00000990| 67 0d 09 72 38 09 09 72 | 38 09 30 09 09 61 64 64 |g..r8..r|8.0..add|
|000009a0| 69 63 2c 09 09 5c 20 63 | 6c 65 61 72 20 63 61 72 |ic,..\ c|lear car|
|000009b0| 72 79 20 69 6e 69 74 69 | 61 6c 6c 79 0d 0d 43 44 |ry initi|ally..CD|
|000009c0| 50 09 09 09 09 09 09 09 | 09 09 5c 20 6c 6f 6f 70 |P.......|..\ loop|
|000009d0| 20 73 74 61 72 74 0d 09 | 72 35 09 09 72 35 09 72 | start..|r5..r5.r|
|000009e0| 35 09 09 61 64 64 65 2c | 09 09 5c 20 68 65 72 65 |5..adde,|..\ here|
|000009f0| 20 77 65 20 73 68 69 66 | 74 20 74 68 65 20 6c 6f | we shif|t the lo|
|00000a00| 6e 67 20 72 65 67 69 73 | 74 65 72 0d 09 72 36 09 |ng regis|ter..r6.|
|00000a10| 09 72 36 09 72 36 09 09 | 61 64 64 65 2c 09 09 5c |.r6.r6..|adde,..\|
|00000a20| 20 20 6c 65 66 74 20 6f | 6e 65 20 70 6c 61 63 65 | left o|ne place|
|00000a30| 20 62 79 20 61 64 64 69 | 6e 67 20 65 61 63 68 0d | by addi|ng each.|
|00000a40| 09 72 37 09 09 72 37 09 | 72 37 09 09 61 64 64 65 |.r7..r7.|r7..adde|
|00000a50| 2c 09 09 5c 20 20 70 6f | 72 74 69 6f 6e 20 74 6f |,..\ po|rtion to|
|00000a60| 20 69 74 73 65 6c 66 2c | 20 77 69 74 68 20 63 61 | itself,| with ca|
|00000a70| 72 72 79 0d 09 72 38 09 | 09 72 38 09 72 38 09 09 |rry..r8.|.r8.r8..|
|00000a80| 61 64 64 65 2c 0d 09 72 | 30 09 09 72 33 09 72 37 |adde,..r|0..r3.r7|
|00000a90| 09 09 73 75 62 66 63 2c | 09 09 5c 20 53 75 62 74 |..subfc,|..\ Subt|
|00000aa0| 72 61 63 74 20 64 69 76 | 69 73 6f 72 20 66 72 6f |ract div|isor fro|
|00000ab0| 6d 20 68 69 20 68 61 6c | 66 0d 09 72 39 09 09 72 |m hi hal|f..r9..r|
|00000ac0| 34 09 72 38 09 09 73 75 | 62 66 65 2e 2c 09 09 5c |4.r8..su|bfe.,..\|
|00000ad0| 20 20 6f 66 20 6c 6f 6e | 67 20 72 65 67 69 73 74 | of lon|g regist|
|00000ae0| 65 72 20 2d 3e 20 72 39 | 3a 72 30 0d 20 67 65 20 |er -> r9|:r0. ge |
|00000af0| 69 66 2c 09 09 09 09 09 | 09 09 09 5c 20 52 65 73 |if,.....|...\ Res|
|00000b00| 75 6c 74 20 77 61 73 20 | 70 6f 73 69 74 69 76 65 |ult was |positive|
|00000b10| 2c 20 73 6f 20 77 65 20 | 75 73 65 20 69 74 0d 09 |, so we |use it..|
|00000b20| 72 37 09 09 72 30 09 09 | 09 6d 72 2c 09 09 09 5c |r7..r0..|.mr,...\|
|00000b30| 20 6d 6f 76 65 20 72 65 | 73 75 6c 74 20 74 6f 20 | move re|sult to |
|00000b40| 68 69 20 68 61 6c 66 20 | 6f 66 20 6c 6f 6e 67 20 |hi half |of long |
|00000b50| 72 65 67 0d 09 72 38 09 | 09 72 39 09 09 09 6d 72 |reg..r8.|.r9...mr|
|00000b60| 2c 0d 09 72 30 09 09 72 | 31 30 09 31 09 09 61 64 |,..r0..r|10.1..ad|
|00000b70| 64 69 63 2c 09 09 5c 20 | 61 6e 64 20 73 65 74 20 |dic,..\ |and set |
|00000b80| 63 61 72 72 79 20 62 69 | 74 20 2d 0d 20 74 68 65 |carry bi|t -. the|
|00000b90| 6e 2c 09 09 09 09 09 09 | 09 09 5c 20 63 61 72 72 |n,......|..\ carr|
|00000ba0| 79 20 62 69 74 20 77 69 | 6c 6c 20 63 6f 6d 65 20 |y bit wi|ll come |
|00000bb0| 69 6e 74 6f 20 74 68 65 | 20 6c 6f 0d 20 09 09 09 |into the| lo. ...|
|00000bc0| 09 09 09 09 09 09 5c 20 | 20 62 69 74 20 70 6f 73 |......\ | bit pos|
|00000bd0| 69 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 6c 6f 6e |ition of| the lon|
|00000be0| 67 20 72 65 67 20 6f 6e | 0d 20 09 09 09 09 09 09 |g reg on|. ......|
|00000bf0| 09 09 09 5c 20 20 74 68 | 65 20 6e 65 78 74 20 73 |...\ th|e next s|
|00000c00| 68 69 66 74 2e 0d 0d 64 | 6e 7a 20 62 63 2c 09 09 |hift...d|nz bc,..|
|00000c10| 09 09 09 09 09 09 5c 20 | 6c 6f 6f 70 0d 0d 5c 20 |......\ |loop..\ |
|00000c20| 6e 6f 77 20 77 65 20 77 | 72 69 74 65 20 74 68 65 |now we w|rite the|
|00000c30| 20 72 65 73 75 6c 74 73 | 2e 20 20 54 68 65 20 71 | results|. The q|
|00000c40| 75 6f 74 69 65 6e 74 20 | 69 73 20 69 6e 20 74 68 |uotient |is in th|
|00000c50| 65 20 6c 6f 20 68 61 6c | 66 20 6f 66 20 74 68 65 |e lo hal|f of the|
|00000c60| 20 6c 6f 6e 67 0d 5c 20 | 20 72 65 67 2c 20 62 75 | long.\ | reg, bu|
|00000c70| 74 20 6e 65 65 64 73 20 | 6f 6e 65 20 6d 6f 72 65 |t needs |one more|
|00000c80| 20 73 68 69 66 74 2c 20 | 62 72 69 6e 67 69 6e 67 | shift, |bringing|
|00000c90| 20 74 68 65 20 63 61 72 | 72 79 20 69 6e 74 6f 20 | the car|ry into |
|00000ca0| 74 68 65 20 6c 6f 20 62 | 69 74 2e 0d 5c 20 41 74 |the lo b|it..\ At|
|00000cb0| 20 74 68 65 20 73 61 6d | 65 20 74 69 6d 65 20 77 | the sam|e time w|
|00000cc0| 65 20 67 65 74 20 74 68 | 65 20 71 75 6f 74 69 65 |e get th|e quotie|
|00000cd0| 6e 74 20 74 6f 20 72 34 | 3a 72 33 2c 20 77 68 65 |nt to r4|:r3, whe|
|00000ce0| 72 65 20 77 65 20 77 61 | 6e 74 20 69 74 2e 0d 0d |re we wa|nt it...|
|00000cf0| 09 72 33 09 09 72 35 09 | 72 35 09 09 61 64 64 65 |.r3..r5.|r5..adde|
|00000d00| 2c 09 09 0d 09 72 34 09 | 09 72 36 09 72 36 09 09 |,....r4.|.r6.r6..|
|00000d10| 61 64 64 65 2c 0d 0d 5c | 20 54 68 65 20 72 65 6d |adde,..\| The rem|
|00000d20| 61 69 6e 64 65 72 20 69 | 73 20 69 6e 20 72 38 3a |ainder i|s in r8:|
|00000d30| 72 37 20 2d 20 77 65 20 | 6e 6f 77 20 70 75 74 20 |r7 - we |now put |
|00000d40| 69 74 20 62 61 63 6b 20 | 69 6e 74 6f 20 74 68 65 |it back |into the|
|00000d50| 20 6d 65 6d 6f 72 79 20 | 70 61 72 74 0d 5c 20 20 | memory |part.\ |
|00000d60| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 2c 20 77 68 |of the s|tack, wh|
|00000d70| 65 72 65 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |ere the |original|
|00000d80| 20 64 69 76 69 64 65 6e | 64 20 63 61 6d 65 20 66 | dividen|d came f|
|00000d90| 72 6f 6d 2e 20 20 41 73 | 20 77 65 20 61 6c 77 61 |rom. As| we alwa|
|00000da0| 79 73 0d 5c 20 20 72 65 | 74 75 72 6e 20 32 20 63 |ys.\ re|turn 2 c|
|00000db0| 65 6c 6c 73 20 69 6e 20 | 72 65 67 69 73 74 65 72 |ells in |register|
|00000dc0| 73 20 66 72 6f 6d 20 61 | 20 63 6f 64 65 20 64 65 |s from a| code de|
|00000dd0| 66 69 6e 69 74 69 6f 6e | 2c 20 77 65 27 6c 6c 20 |finition|, we'll |
|00000de0| 6e 6f 77 0d 5c 20 20 68 | 61 76 65 20 74 68 65 20 |now.\ h|ave the |
|00000df0| 72 65 6d 61 69 6e 64 65 | 72 20 75 6e 64 65 72 20 |remainde|r under |
|00000e00| 74 68 65 20 71 75 6f 74 | 69 65 6e 74 2c 20 61 73 |the quot|ient, as|
|00000e10| 20 72 65 71 75 69 72 65 | 64 2e 0d 0d 09 72 37 09 | require|d....r7.|
|00000e20| 09 34 09 72 53 50 09 09 | 73 74 77 2c 0d 09 72 38 |.4.rSP..|stw,..r8|
|00000e30| 09 09 30 09 72 53 50 09 | 09 73 74 77 2c 0d 0d 09 |..0.rSP.|.stw,...|
|00000e40| 09 09 09 09 09 62 6c 72 | 2c 0d 0d 3b 70 70 63 5f |.....blr|,..;ppc_|
|00000e50| 63 6f 64 65 0d 0d 0d 5c | 20 4d 2a 2f 20 69 73 6e |code...\| M*/ isn|
|00000e60| 27 74 20 63 6f 6d 70 6c | 65 74 65 20 79 65 74 2c |'t compl|ete yet,|
|00000e70| 20 73 69 6e 63 65 20 69 | 74 20 64 6f 65 73 6e 27 | since i|t doesn'|
|00000e80| 74 20 68 61 6e 64 6c 65 | 20 6e 65 67 61 74 69 76 |t handle| negativ|
|00000e90| 65 20 6e 75 6d 62 65 72 | 73 2e 0d 0d 3a 20 4d 2a |e number|s...: M*|
|00000ea0| 2f 20 20 7b 20 6e 31 5f | 6c 6f 20 6e 31 5f 68 69 |/ { n1_|lo n1_hi|
|00000eb0| 20 6e 32 20 6e 33 20 5c | 20 6c 6f 20 6d 69 64 20 | n2 n3 \| lo mid |
|00000ec0| 68 69 20 2d 2d 20 6e 34 | 5f 6c 6f 20 6e 34 5f 68 |hi -- n4|_lo n4_h|
|00000ed0| 69 20 7d 0d 09 6e 31 5f | 6c 6f 20 6e 32 20 6d 2a |i }..n1_|lo n2 m*|
|00000ee0| 20 20 2d 3e 20 6d 69 64 | 20 20 2d 3e 20 6c 6f 0d | -> mid| -> lo.|
|00000ef0| 09 6e 31 5f 68 69 20 6e | 32 20 6d 2a 20 20 6d 69 |.n1_hi n|2 m* mi|
|00000f00| 64 20 73 3e 64 20 20 64 | 2b 20 20 2d 3e 20 68 69 |d s>d d|+ -> hi|
|00000f10| 20 20 2d 3e 20 6d 69 64 | 0d 09 0d 09 6c 6f 20 6d | -> mid|....lo m|
|00000f20| 69 64 20 68 69 20 30 20 | 20 6e 33 20 30 20 20 75 |id hi 0 | n3 0 u|
|00000f30| 6d 64 2f 6d 6f 64 20 20 | 32 73 77 61 70 20 32 64 |md/mod |2swap 2d|
|00000f40| 72 6f 70 0d 3b 0d 00 00 | 00 00 00 00 00 00 00 00 |rop.;...|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00000f90| 20 63 6f 64 65 73 65 72 | 63 65 65 73 72 73 00 30 | codeser|ceesrs.0|
|00000fa0| 00 4b 1d a0 00 00 20 00 | 00 00 00 00 ff ff 00 00 |.K.... .|........|
|00000fb0| 06 64 6f 75 62 6c 65 64 | 02 00 00 00 50 61 72 74 |.doubled|....Part|
|00000fc0| 53 49 54 21 00 00 00 00 | 00 00 00 00 00 01 82 3c |SIT!....|.......<|
|00000fd0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 b3 66 c2 78 00 00 | 00 00 00 00 01 7d 00 00 |...f.x..|.....}..|
|00001000| 00 2a ff fb 00 00 03 3f | 06 4d 6f 70 73 20 c4 75 |.*.....?|.Mops .u|
|00001010| 72 63 65 72 63 65 65 73 | 72 73 00 30 00 4b 1d a0 |rcercees|rs.0.K..|
|00001020| 00 00 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00001030| 00 00 60 00 07 fe ff 00 | ff f8 ff f8 00 00 00 2d |..`.....|.......-|
|00001040| ff fa 00 00 00 48 06 65 | 2d 6d 61 69 6c 75 72 63 |.....H.e|-mailurc|
|00001050| 65 72 63 65 65 73 72 73 | 00 30 00 4b 1d a0 00 00 |erceesrs|.0.K....|
|00001060| 20 00 00 00 00 00 ff ff | 00 00 00 00 00 00 00 00 | .......|........|
|00001070| 60 00 03 fe ff 00 ff f8 | ff f8 00 00 00 2a ff fb |`.......|.....*..|
|00001080| 00 00 00 3e 00 00 02 21 | 00 00 00 00 00 00 00 00 |...>...!|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 6d |........|.......m|
|000010b0| 00 00 02 6d 00 00 00 00 | 00 00 00 00 00 00 00 00 |...m....|........|
|000010c0| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|000010d0| 00 3b 02 85 44 f8 22 e4 | 00 00 00 1c 00 32 00 00 |.;..D.".|.....2..|
|000010e0| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|000010f0| 02 85 4e a8 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |..N..Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+